package xin.ryven.workflow.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import xin.ryven.workflow.model.FormDefinition;
import java.util.Optional;

public interface FormDefinitionRepository extends JpaRepository<FormDefinition, Long> {
    Optional<FormDefinition> findByProcessKey(String processKey);
} 